import React from 'react'
import { Panel, Tab, NavBar, NavBarItem, TabBody} from 'react-weui'
import { browserHistory } from 'react-router'
import Title from '../ReuseTitle'
import Nav from './OrderNav'

export default class OrderInfo extends React.Component {
	constructor(props) {
		super(props)
    }
	render() {
		return (
            <div>
                <Title title="我的订单" name="order" storeId={this.props.params.storeId} />
                <Tab>
	                <Nav pathName={this.props.location.pathname} storeId={this.props.params.storeId} />
	                <TabBody style={{ marginTop: '65px', marginBottom: '10px' }}>
                        {this.props.children}
	                </TabBody>
	            </Tab>
            </div>
		);
	}
}
